@import "header.html"
<link rel="stylesheet" href="../css/upload_idcard_front.css">
<body>
<header class="fxj-header">
    <back></back>
    <h1 class="fxj-title">身份认证</h1>
</header>

<main id="main">
    <div>
        <img id="idCardShow" :src="imgUrl" alt="">
    </div>
    <p>请拍摄并上传清晰完整的身份证照片<strong>(正面)</strong>，便于我们确认您的真实姓名和身份证号码是否真实。</p>
    <input id="idCard" type="file" style="display: none;">
</main>

<div class="footer">
    <button :class="{half:uploadedImg}" onclick="uploadIdCard()" v-text="!uploadedImg?'上传身份证照片':'重新上传'"></button>
    <button class="half accomplish" v-show="uploadedImg" onclick="submit()">下一步</button>
</div>

@import "js.html"
<script src="../script/upload_idcard_front.js"></script>
</body>
@import "footer.html"